/*
 * Util.h
 *
 *  Created on: Apr 24, 2011
 *      Author: xrose
 */

#ifndef UTIL_H_
#define UTIL_H_
#include <sstream>
#include <iostream>
using namespace std;

class Util {
public:
	Util();
	virtual ~Util();
	static int convertStringToInt(const string str);
	static string convertIntToString(const int num);
	static string SplitFilename (const string& str){
	  size_t found;
	  found=str.find_last_of("/\\");
	  return str.substr(found + 1);
	}
};

#endif /* UTIL_H_ */
